package cn.yx.permission.mapper;

import cn.yx.common.mybatis.mapper.BasePlusMapper;
import cn.yx.permission.cond.RolePermissionCond;
import cn.yx.permission.dos.RolePermissionDo;
import cn.yx.permission.dos.RolePermissionExtendDo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>RolePermissionMapper数据访问类</p>
 *
 * @author Wgssmart
 */
@Repository
public interface RolePermissionMapper extends BasePlusMapper<RolePermissionDo, RolePermissionCond, Long> {

    /**
     * 返回带有permission字段的对象
     *
     * @return
     */
    List<RolePermissionExtendDo> selectRolePermission();

}
